package cloud.maque.module.system.service;

import cloud.maque.common.core.request.PageRequest;
import cloud.maque.module.system.entity.SysDictType;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface DictTypeService extends IService<SysDictType> {


    IPage<SysDictType> GetList(PageRequest<SysDictType> pageReq);

    SysDictType SaveDictType(SysDictType data);


    Boolean DeleteType(String dictId);

    SysDictType GetByCode(String dictCode);

}